﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BeAware
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="<%= Links.Content.custom.search_js %>" type="text/javascript"></script>
    <script src="<%= Links.Content.custom.properties_js %>" type="text/javascript"></script>
    <script src="<%= Links.Content.custom.geofilter_js %>" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="forma">
        <% using (Html.BeginForm("search", "Search", FormMethod.Get, new { id = "searchForm", name = "searchForm" }))
           {
        %>
        <p>
            <input type="text" id="q" name="q" maxlength="500" class="search" />
            <a class="okk" href="javascript:$('#searchForm').submit()">
                <%= ViewStrings.SearchStrings.FindEvents%></a>
        </p>
        <p class="primer">
            <%= ViewStrings.SharedStrings.ForExample %>
            <a href="javascript:void(0)" id="sampleQueryAnchor" onclick="setExampleQuery();"
                class="primer">Something</a> <a href="javascript:void(0)" onclick="showHideAdvancedSearch();"
                    class="ras">
                    <%= ViewStrings.SearchStrings.AdvancedSearch %></a>
        </p>
        <div id="advancedSearchDiv" class="text2" style="display: none">
<%--            <% Html.RenderPartial("EventFilter"); %>--%>
            <% Html.RenderPartial("GeoFilter"); %>
        </div>
        <%
            }
        %>
    </div>
</asp:Content>
